// src/routes/planets/planets.router.js
const express = require('express');
const { httpGetAllPlanets } = require('./planets.controller');
 // 创建planetsRouter 路由器实例
const planetsRouter = express.Router();
 // 为 planetsRouter 路由器实例添加GET 请求处理⽅法
 planetsRouter.get('/', httpGetAllPlanets);
module.exports = planetsRouter;